package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.supervision.dto.create.JzdxReleaseCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxReleaseResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzdxReleaseUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxReleaseEntity;

public interface JzdxReleaseService extends IService<JzdxReleaseEntity> {

    JzdxReleaseResultDTO getById(Long id);

    Boolean create(JzdxReleaseCreateDTO dto);

    Boolean update(JzdxReleaseUpdateDTO dto);

    JzdxReleaseResultDTO findByCode(String code);
}